<#if rhs["pagination"]?exists>
	<#assign pagination=rhs["pagination"]>
	<#assign pageNumbers=[5,10,15,20,50,100,200]>
	<script>
	function page_list_commit(pageNo){
		document.getElementById('pageId').value = pageNo;
		document.getElementById('pageMaxSize').value = $("#changeMaxSize").val();
		listPageAjax();	
	}
	</script>
	<#if (pagination.totalSize>0)>
	<p class="pull-right">
	 
			共<font color="blue">${pagination.totalSize}</font>条符合条件的记录&nbsp;&nbsp;
		    <#if (pagination.currentPage > 1)><a onclick="javascript:page_list_commit(${pagination.currentPage-1})" href="#"><<</a></#if><#-- 上一页 -->
		    <#if (pagination.currentPage > 1)><a onclick="javascript:page_list_commit(1)" href="#">1</a></#if><#-- 第一页 -->
		    <a href="#">第${pagination.currentPage}页，</a><#-- 本页 -->
		    <a onclick="javascript:page_list_commit(${pagination.totalPage})" href="#">共${pagination.totalPage}页</a> <#-- 最后一页 -->
		    <#if (pagination.currentPage < pagination.totalPage)><a onclick="javascript:page_list_commit(${pagination.currentPage+1})" href="#">>></a></#if><#-- 下一页  -->
		每页显示
		<select style="WIDTH: 60px"  id=changeMaxSize onchange="javascript:page_list_commit(1)" >
		    <#list pageNumbers as pn>
		    <option value="${pn}" <#if (pn==pagination.maxSize)> selected </#if>  >${pn}</option>
		    </#list>
		<select>
	
	</P>
	</#if>
</#if>
